Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login
    1. Home
    2. Tags
    3. deep sleep

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Log in to post

    • All categories
    • T

      Deep sleep and pending network output

      Watching Ignoring Scheduled Pinned Locked Moved Getting Started wipy pysense udp deep sleep
      7
      1 Votes
      7 Posts
      2k Views
      T
      @daniel - Fair enough, I’ll think about switching from UDP to TCP (or BLE). I haven’t explored the sleep duration thoroughly, it’s set to 100ms at the moment, which has been reliable enough for my purposes. Presumably this would be an issue for any networking stack on any machine, but we don’t think about it because we aren’t focused on putting a workstation to sleep immediately following a sendto(). Many thanks, Tim
    • M

      WiPy 3.0 - deep-sleep GPIOs/ADC?

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 wipy 3.0 deep sleep
      3
      1 Votes
      3 Posts
      1k Views
      M
      @jmarcelino Ok that makes sense. ADC threshold sounds great, as does a simple GPIO-based pulse counter in case you're looking for ideas :)
    • M

      LoPy broke? Does strange things on startup. Deep sleep no longer works...

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy deep sleep dead
      6
      2
      0 Votes
      6 Posts
      2k Views
      M
      @xykon Ok, thanks. Downgrading LoPy did the trick, but I still find it very strange that a working setup stops working due to a code problem after +70 hours of normal behavior and no longer starts working even after factory resetting, flashing the latest firmware again and starting again with the exact python project code and firmware... So what should I do next? Wait for a new LoPy firmware when the problem with get_wake_status is resolved? Can I follow some GitHub repository or just follow the forum here on this?
    • M

      WHat is the deep sleep shield?

      Watching Ignoring Scheduled Pinned Locked Moved Discussion deep sleep
      4
      0 Votes
      4 Posts
      2k Views
      L
      @misterlisty look here https://docs.pycom.io/chapter/datasheets/boards/deepsleep.html To correctly connect a WiPy 2.0, LoPy or SiPy to the Deep Sleep Shield, align the white triangle on the Shield with the LED of the Pycom Device. Once the Pycome Device is seated onto the Deep Sleep Shield, this can then be connected to the Exapnsion Board.
    • F

      Core dump when calling py.go_to_sleep()

      Watching Ignoring Scheduled Pinned Locked Moved Expansion Board pysense core dump deepsleep deep sleep power saving
      2
      0 Votes
      2 Posts
      1k Views
      J
      I suffer the same error with the new firmware version (1.10.2.b1). It seems they have not solved it until now... Have you found any solution?+ Thanks
    • M

      New order of LoPy - deep sleep issues?

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy deep sleep
      31
      1 Votes
      31 Posts
      10k Views
      S
      I'm using an Lopy4 powered by a Lifepo4 battery. For testing purposes I'm reading a sensor (bme280), sending the data using lora and then going to sleep for about 10 minutes.
    • B

      DeepSleep remaining time

      Watching Ignoring Scheduled Pinned Locked Moved Getting Started deepsleep deep sleep
      1
      1 Votes
      1 Posts
      675 Views
      No one has replied
    • D

      L01 deep-sleep and LoRa transmission

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs l01 deep sleep
      4
      0 Votes
      4 Posts
      2k Views
      D
      @jcaron I did not try those modifications as calling lora.power_mode(LoRa.SLEEP) before machine.deepsleep() made transmission reliable. On the other hand it may be possible that without this precaution ESP32 enters deep-sleep before transmission is finished.
    • D

      i2c.deinit() and machine.deepsleep() on L01

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs deep sleep i2c
      6
      0 Votes
      6 Posts
      2k Views
      D
      Guys, thanks for the valuable input. We will create the "best practices for deepsleep" section in the docs and also improve the behaviour of the deinit() methods. Cheers, Daniel
    • J

      LoRaWAN channels and ADR support with deep sleep

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs lopy lorawan deep sleep adr
      4
      0 Votes
      4 Posts
      1k Views
      J
      @daniel @bucknall Ping! This is the same issue as: https://github.com/pycom/pycom-micropython-sigfox/issues/68
    • B

      Hardware status for buying new boards

      Watching Ignoring Scheduled Pinned Locked Moved LoPy deep sleep hardware lopy fipy new project
      1
      1 Votes
      1 Posts
      783 Views
      No one has replied
    • D

      Hardware switch debouncing vs deep-sleep current

      Watching Ignoring Scheduled Pinned Locked Moved Discussion deep sleep debouncing
      3
      1
      0 Votes
      3 Posts
      1k Views
      D
      @robert-hh Thanks for confirmation. With the uCurrent tool I measured current in order of tens of nA but I was not sure if measurement of such small currents makes sense.
    • D

      Deep Sleep Shield: Persistent low voltage limit

      Watching Ignoring Scheduled Pinned Locked Moved Expansion Board deep sleep
      1
      0 Votes
      1 Posts
      806 Views
      No one has replied
    • L

      LoPy+Expansion board+Deep Sleep Shield only down to 18mA

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy current deep sleep lopy expansionboard
      8
      1 Votes
      8 Posts
      2k Views
      R
      @ledbelly2142 Hi ledbelly2142 I am doing a project with the same devices as you. I am a begineer of IoT and it seems I can learn something from your experience. May you share the whole code you have done of this deep sleep shield connected with LoRa, if you still have it. Thanks in advance! Regards Rachel
    • A

      Lopy with pysense shield + deep sleep issues

      Watching Ignoring Scheduled Pinned Locked Moved LoPy deep sleep lopy pysense
      2
      0 Votes
      2 Posts
      1k Views
      J
      @andy12 said in Lopy with pysense shield + deep sleep issues: wake_s = ds.get_wake_status() Hi, I have the same problem, maybe Did you resolve it?
    • D

      Pull-up/down during deep-sleep

      Watching Ignoring Scheduled Pinned Locked Moved Discussion pull deep sleep
      15
      0 Votes
      15 Posts
      5k Views
      J
      @bnjroos I'm definitely not an EE, but you may want to have a circuit where you use both VDD or 3V3 and a GPIO pin as inputs. When VDD/3V3 are off, just ignore completely the GPIO pin (open circuit) and set the output to whatever state you need. When they're on, they you can use the GPIO pin (directly or indirectly) to control the output.
    • R

      Maximum time for deep sleep shield

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 wipy 2.0 deep sleep shield
      2
      0 Votes
      2 Posts
      1k Views
      B
      Did you ever find an answer to this? What is the maximum number of seconds for the go_to_sleep() method?
    • R

      LoPy with deep sleep shield is unstable

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs deep sleep hangs deepsleep
      12
      0 Votes
      12 Posts
      4k Views
      R
      @daniel the failure is on the first wake-up. I don't have a multimeter handy, but can do that this evening. I added @jojo suggestion and the board wakes now. I have left it in a sleep wake cycle and will see how long it runs.
    • R

      Deep sleep shield conflicts with UART

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs deep sleep uart
      3
      0 Votes
      3 Posts
      1k Views
      R
      Hi @bucknall, My code does this: uart = UART(1, baudrate=9600) The deepsleep.py library does this: self.uart = UART(1, baudrate=10000, pins=(COMM_PIN, )) I did not expect the deepsleep library to use UART, hence the initial confusion. The docs state there are two UARTs on the LoPy but i did not find out how to differentiate the two yet (I'm still new to micropython). My current workaround is to re-initialise the UART every time it is used. I will revisit this issue when the following blocking issue is solved: https://forum.pycom.io/topic/1685/lopy-with-deep-sleep-shield-hangs-after-x-go_to_sleep-commands
    • 1
    • 2
    • 3
    • 4
    • 3 / 4